package com.zatech.cgnci.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 汇率信息表
 * </p>
 *
 * @author Generator
 * @since 2025-01-13
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("cgnci_rate")
@ApiModel(value = "CgnciRateDO对象", description = "汇率信息表")
public class CgnciRateDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键，自增ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("直接汇率")
    private BigDecimal directRate;

    @ApiModelProperty("间接汇率")
    private BigDecimal indirectRate;

    @ApiModelProperty("汇率类型")
    private String rateType;

    @ApiModelProperty("原币")
    private String baseCurrency;

    @ApiModelProperty("目标币")
    private String targetCurrency;

    @ApiModelProperty("生效日期")
    private Date effectiveDate;

    @ApiModelProperty("失效日期")
    private Date expirationDate;

    @ApiModelProperty("禁用状态（0-否，1-禁用）")
    private Integer disabledStatus;

    @ApiModelProperty("创建人")
    private String createdBy;

    @ApiModelProperty("创建时间")
    private Date createdTime;

    @ApiModelProperty("更新时间")
    private Date updatedTime;

    @ApiModelProperty("删除标志（0-否，1-是）")
    private Integer deleted;


}
